package com.rent.apartment.domain;

import java.math.BigDecimal;
import java.util.List;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.rent.common.annotation.Excel;
import com.rent.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
 * 公寓信息对象 rent_apartments
 *
 * @author cooper
 * @date 2024-10-09
 */
@TableName(resultMap = "com.rent.apartment.mapper.ApartmentInfoMapper.ApartmentInfoResult")
public class ApartmentInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 公寓所在省份 */
    @Excel(name = "公寓所在省份")
    private String addressProvince;

    /** 公寓ID */
    @TableId(value = "id" , type = IdType.AUTO)
    private Long id;

    /** 公寓所在城市 */
    @Excel(name = "公寓所在城市" )
    private String addressCity;

    /** 公寓所在社区 */
    @Excel(name = "公寓所在社区" )
    private String addressNeighborhood;

    /** 公寓所在小区 */
    @Excel(name = "公寓所在小区")
    private String addressCommunity;

    /** 公寓单元 */
    @Excel(name = "公寓单元" )
    private String unit;

    /** 公寓门牌号 */
    @Excel(name = "公寓门牌号" )
    private String doorNumber;

    /** 公寓户型 */
    @Excel(name = "公寓户型" )
    private String apartmentType;

    /** 租金 */
    @Excel(name = "租金" )
    private BigDecimal rent;

    /** 公寓状态 */
    @Excel(name = "公寓状态" )
    private String status;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }


    public void setAddressProvince(String addressProvince) {
        this.addressProvince = addressProvince;
    }

    public String getAddressProvince() {
        return addressProvince;
    }

    public void setAddressCity(String addressCity) {
        this.addressCity = addressCity;
    }
    public String getAddressCity() {
        return addressCity;
    }
    public void setAddressNeighborhood(String addressNeighborhood) {
        this.addressNeighborhood = addressNeighborhood;
    }

    public String getAddressNeighborhood() {
        return addressNeighborhood;
    }
    public void setAddressCommunity(String addressCommunity) {
        this.addressCommunity = addressCommunity;
    }

    public String getAddressCommunity() {
        return addressCommunity;
    }
    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getUnit() {
        return unit;
    }
    public void setDoorNumber(String doorNumber) {
        this.doorNumber = doorNumber;
    }

    public String getDoorNumber() {
        return doorNumber;
    }
    public void setApartmentType(String apartmentType) {
        this.apartmentType = apartmentType;
    }

    public String getApartmentType() {
        return apartmentType;
    }
    public void setRent(BigDecimal rent) {
        this.rent = rent;
    }

    public BigDecimal getRent() {
        return rent;
    }
    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id" , getId())
                .append("addressProvince" , getAddressProvince())
                .append("addressCity" , getAddressCity())
                .append("addressNeighborhood" , getAddressNeighborhood())
                .append("addressCommunity", getAddressCommunity())
                .append("unit" , getUnit())
                .append("doorNumber" , getDoorNumber())
                .append("apartmentType" , getApartmentType())
                .append("rent" , getRent())
                .append("status" , getStatus())
                .append("createTime" , getCreateTime())
                .append("updateTime" , getUpdateTime())
                .toString();
    }
}